package com.jasontools.data;

import java.util.Date;

public class SimpleMessage {
	public int id;
	public String title;
	public String content;
	public Date date;
	
	public SimpleMessage() {
		this.id = -1;
		this.title = "";
		this.content = "";
		this.date = new Date();
	}
	
	public SimpleMessage(int id, String title, String content, Date date) {
		this.id = id;
		this.title = title;
		this.content = content;
		this.date = date;
	}
	
	//getter and setter
	public void setId(int id) {
		this.id = id;
	}
	public int getId() {
		return this.id;
	}
	
	public void setTitle(String title) {
		this.title = title;
	}
	public String getTitle() {
		return this.title;
	}
	
	public void setContent(String content) {
		this.content = content;
	}
	public String getContent() {
		return this.content;
	}
	
	public void setDate(Date date) {
		this.date = date;
	}
	public Date getDate() {
		return this.date;
	}	
}

